package com.oyc.demo.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.oyc.demo.domain.Cablebasic;
import com.oyc.demo.mapper.ClientMapper;
import com.oyc.demo.service.ClientService;

/**
 * (client)表服务实现类
 *
 * @author 杜学森
 * @since 2021-01-20 18:51:53
 */
@Service
public class ClientServiceImpl implements ClientService {

    @Autowired
    private ClientMapper clientMapper;

    /**
     * 通过ID查询单条数据
     *
     * @param reelnumber 主键
     * @return 实例对象
     */
    @Override
    public List<Cablebasic> queryExcel(Cablebasic client) {
        return clientMapper.queryExcel(client);
    }


    /**
     * 修改数据
     *
     * @param client 实例对象
     * @return 实例对象
     */
    @Override
    public void update(Cablebasic client) {
        clientMapper.update(client);
    }


    @Override
    public List<Map<String, String>> queryAll(Cablebasic client) {
        return clientMapper.queryAll(client);
    }
}